package com.mackyhuang.annotated.enhancer.model;

import java.lang.reflect.Method;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @description:
 * @author: mackyHuang
 * @create: 2021/01/02
 */
@Data
public class EnhanceEvent {

    private Object result;

    private Object proxy;

    private Method method;

    private Object[] args;

    private Exception exception;

    public EnhanceEvent(Object proxy, Method method, Object[] args) {
        this.proxy = proxy;
        this.method = method;
        this.args = args;
    }
}
